package com.relytosoft.mizar.analyze.face.host;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Jierry
 * @version 2022/5/10.
 */
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@EnableMethodCache(basePackages = "com.relytosoft")
@EnableCreateCacheAnnotation
@MapperScan("com.relytosoft.**.mapper")
@EnableFeignClients(basePackages = {"com.relytosoft.mizar.analyze.common.feign"})
@EnableDiscoveryClient
public class FaceApplication {

    public static void main(String[] args) {
        SpringApplication.run(FaceApplication.class, args);
    }
}
